package cn.laike.modules.dev.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 小程序配置
 * 
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-02-18 11:54:52
 */
@TableName("dev_config")
public class ConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 商户编号
	 */
	private Long uid;
	/**
	 * 标题
	 */
	private String name;
	/**
	 * 
	 */
	private String appId;
	/**
	 * 
	 */
	private String appSecret;
	/**
	 * 
	 */
	private String mchId;
	/**
	 * 
	 */
	private String apiKey;
	/** 微信证书文件  .p12*/
	private String certName;
	/** 微信证书文件  .p12*/
	private String certFile;
	
	private String accessKeyId;
	private String accessKeySecret;
	/**
	 * 注册时间
	 */
	private Date createTime;
	/**
	 * 小程序背景图
	 */
	private String bg;
	/**
	 * 赠送早餐券模版消息ID
	 */
	private String giveTemplateId;
	/**
	 * 是否推广
	 */
	private Integer recommendCode;
	/**
	 * 推广佣金
	 */
	private Double recommendMoney;
	/**
	 * 推广规则
	 */
	private String recommendTip;
	
	/**
	 * 提现规则
	 */
	private String withdrawalTip;
	/**
	 * 提现最小金额
	 */
	private Double withdrawalMinMoney;
	
	//推广海报
	private String recommendPic;
	/** 推广海报x、y轴*/
	private Integer qrcodex;
	private Integer qrcodey;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：商户编号
	 */
	public void setUid(Long uid) {
		this.uid = uid;
	}
	/**
	 * 获取：商户编号
	 */
	public Long getUid() {
		return uid;
	}
	/**
	 * 设置：标题
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：标题
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：
	 */
	public void setAppId(String appId) {
		this.appId = appId;
	}
	/**
	 * 获取：
	 */
	public String getAppId() {
		return appId;
	}
	/**
	 * 设置：
	 */
	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}
	/**
	 * 获取：
	 */
	public String getAppSecret() {
		return appSecret;
	}
	/**
	 * 设置：
	 */
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	/**
	 * 获取：
	 */
	public String getMchId() {
		return mchId;
	}
	/**
	 * 设置：
	 */
	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}
	/**
	 * 获取：
	 */
	public String getApiKey() {
		return apiKey;
	}

	public String getCertName() {
		return certName;
	}
	public void setCertName(String certName) {
		this.certName = certName;
	}
	public String getCertFile() {
		return certFile;
	}
	public void setCertFile(String certFile) {
		this.certFile = certFile;
	}
	/**
	 * 设置：注册时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：注册时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	public String getAccessKeyId() {
		return accessKeyId;
	}
	public void setAccessKeyId(String accessKeyId) {
		this.accessKeyId = accessKeyId;
	}
	public String getAccessKeySecret() {
		return accessKeySecret;
	}
	public void setAccessKeySecret(String accessKeySecret) {
		this.accessKeySecret = accessKeySecret;
	}
	public String getBg() {
		return bg;
	}
	public void setBg(String bg) {
		this.bg = bg;
	}
	public String getGiveTemplateId() {
		return giveTemplateId;
	}
	public void setGiveTemplateId(String giveTemplateId) {
		this.giveTemplateId = giveTemplateId;
	}
	public Integer getRecommendCode() {
		return recommendCode;
	}
	public void setRecommendCode(Integer recommendCode) {
		this.recommendCode = recommendCode;
	}
	public Double getRecommendMoney() {
		return recommendMoney;
	}
	public void setRecommendMoney(Double recommendMoney) {
		this.recommendMoney = recommendMoney;
	}
	public String getWithdrawalTip() {
		return withdrawalTip;
	}
	public void setWithdrawalTip(String withdrawalTip) {
		this.withdrawalTip = withdrawalTip;
	}
	public String getRecommendTip() {
		return recommendTip;
	}
	public void setRecommendTip(String recommendTip) {
		this.recommendTip = recommendTip;
	}
	public Double getWithdrawalMinMoney() {
		return withdrawalMinMoney;
	}
	public void setWithdrawalMinMoney(Double withdrawalMinMoney) {
		this.withdrawalMinMoney = withdrawalMinMoney;
	}
	public Integer getQrcodex() {
		return qrcodex;
	}
	public void setQrcodex(Integer qrcodex) {
		this.qrcodex = qrcodex;
	}
	public Integer getQrcodey() {
		return qrcodey;
	}
	public void setQrcodey(Integer qrcodey) {
		this.qrcodey = qrcodey;
	}
	public String getRecommendPic() {
		return recommendPic;
	}
	public void setRecommendPic(String recommendPic) {
		this.recommendPic = recommendPic;
	}
}
